                var data_num=[];
                document.getElementById("enter_1").onclick=function(){
                    var level_number=document.getElementById("level_number").value;//.replace(/\s*/g,"");
                    console.log(data_list[level_number.toString()]);
                    if(data_list[level_number]){
                         document.getElementById("light_1").style.backgroundColor="rgb(100, 136, 46)"; 
                         //更新显示的正交表信息
                         var show_string="";
                         for(let i=0;i<data_list[level_number].length;i++){
                            // console.log(data_list[level_number][i]);
                            show_string=show_string+data_list[level_number][i]+"\n";
                         }                       
                         document.getElementById("textarea_content").value=show_string;
                         document.getElementById("light_2").style.backgroundColor="rgb(100, 136, 46)"; 
                         //先以空格隔开分割，再以^分割，再换整数
                         let array=level_number.split(' ');
                         for(let i=0;i<array.length;i++){
                             array[i]=array[i].split('^');
                             for(let j=0;j<array[i].length;j++){
                                 array[i][j]=parseInt(array[i][j]);
                             }
                         }
                         //console.log(array);
                        data_num = array;
                        console.log(data_num);
                    }else{
                        document.getElementById("level_number").value="";
                        document.getElementById("light_1").style.backgroundColor="rgb(255,255,255)";
                        document.getElementById("light_2").style.backgroundColor="rgb(255,255,255)";
                        document.getElementById("light_3").style.backgroundColor="rgb(255,255,255)";
                        document.getElementById("light_4").style.backgroundColor="rgb(255,255,255)";
                        document.getElementById("textarea_content").value="";
                    }

                }